package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.po.MarketGoods;
import com.cskaoyan.bean.po.MarketKeyword;
import org.springframework.beans.BeanUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Trellis
 * @since 2022/09/09 10:10
 */
public class WxSearchHelperVo {


    /**
     * errno : 0
     * data : ["12","123"]
     * errmsg : 成功
     */
    private int errno;
    private List<String> data = new ArrayList<>();
    private String errmsg;

    public void copyData(MarketGoods marketKeyword) {
        String s = marketKeyword.getName();
        data.add(s);

    }

    public void setErrno(int errno) {
        this.errno = errno;
    }

    public void setData(List<String> data) {
        this.data = data;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public int getErrno() {
        return errno;
    }

    public List<String> getData() {
        return data;
    }

    public String getErrmsg() {
        return errmsg;
    }
}
